<h1>Editing size</h1>

<%= error_messages_for :size %>

<% form_for(@size) do |f| %>
  <p>
    <b>Name</b><br />
    <%= f.text_field :name %>
  </p>

  <p>
    <b>Hp</b><br />
    <%= f.text_field :hp %>
  </p>

  <p>
    <b>Hardness</b><br />
    <%= f.text_field :hardness %>
  </p>
  <p>
    <b>Max Features</b><br />
    <%= f.text_field :max_features %>
  </p>
  <p>
    <%= f.submit "Update" %>
  </p>
<% end %>

<%= link_to 'Show', @size %> |
<%= link_to 'Back', sizes_path %>
